import json

import requests

page = 1
url =f"https://haokan.baidu.com/videoui/page/pc/toplist?type=hotvideo&sfrom=haokan_web_banner&pageSize=20&_format=json&page={page}"

response = requests.get(url)

items = response.json()

video = items['apiData']['response']['video']
for item in video:
    title = item.get('title')
    poster = item.get('poster')
    author = item.get('author')

    print(title,poster,author)
